Ou tem tb o .....

brincadeira, mas o eclipse tem zilhoes de atalhos...hehe

Vou ver se acho aqui um pdf q eu tinha com os comandos atalhos principais
pro eclipse e mando pra lista.

[]'s

2009/12/2 Peter P. Lupo <[email protected]>

> Ou se vc escrever "Pessoa p;"  ou "new Pessoa();" ou qualquer utilização de
> Pessoa no código e apertar ctrl+shift+o (organize imports). Este atalho tb
> tá presente no menu de contexto no código da classe.
>
>
> Abraço
>
> Peter P. Lupo
> MPS.BR Authorized Implementation Practitioner
> Certified ScrumMaster
> Sun Certified Java Associate
> http://sites.google.com/site/pplupo - http://craftnicely.blogspot.com
> +55 (021) 81742487
>
>
> 2009/12/2 Zaedy Sayão <[email protected]>
>
>> Se vc usar o Eclipse e digitar Pessoa e der Ctrl + SPACE, vai aparecer a
>> classe e ele vai importar :)
>>
>>
>> []'s
>>
>>
>> 2009/12/2 Peter P. Lupo <[email protected]>
>>
>>> Exatamente!!! :-)
>>>
>>> Abaixo da linha "package cliente;" acima de "public class W {"
>>>
>>> Abraço
>>>
>>>
>>> Peter P. Lupo
>>> MPS.BR Authorized Implementation Practitioner
>>> Certified ScrumMaster
>>> Sun Certified Java Associate
>>> http://sites.google.com/site/pplupo - http://craftnicely.blogspot.com
>>> +55 (021) 81742487
>>>
>>>
>>> 2009/12/2 Jefferson Bandeira <[email protected]>
>>>
>>>> Mesmo ela não estando no mesmo pacote?
>>>> Ex.:
>>>> pacote 'servidor'
>>>> -- Pessoa
>>>> -- Cliente
>>>> -- Gerente
>>>> -- Classe x
>>>> -- Classe y
>>>> pacote 'cliente'
>>>> -- Classe w
>>>> -- Classe t
>>>> No caso eu quero que classe w e t possam entender o que é "Pessoa"
>>>> "Cliente" e "gerente", como eu faria?
>>>> import servidor.Pessoa?
>>>> 2009/12/2 Peter P. Lupo <[email protected]>
>>>>
>>>> Olá amigo do mal. :-P
>>>>>
>>>>> Cara, basta a classe ser pública e as outras poderão utilizá-la
>>>>> normalmente (pelos métodos públicos).
>>>>>
>>>>> Lembra do import? É só usar nas classes que precisam de Pessoa e tá
>>>>> tudo certo. Se precisar de mais detalhes é só falar.
>>>>>
>>>>>
>>>>> Peter P. Lupo
>>>>> MPS.BR Authorized Implementation Practitioner
>>>>> Certified ScrumMaster
>>>>> Sun Certified Java Associate
>>>>> http://sites.google.com/site/pplupo - http://craftnicely.blogspot.com
>>>>> +55 (021) 81742487
>>>>>
>>>>>
>>>>> 2009/12/2 Jefferson Bandeira <[email protected]>
>>>>>
>>>>>>  Olá galerinha do mal. =)
>>>>>> Minha dúvida é a seguinte, pretendo separar o projeto do meu grupo em
>>>>>> pacotes, Porem, todos os pacotes usarão de alguma forma uma classe 
>>>>>> "Pessoa",
>>>>>> existe uma forma de manter essa classe pessoa comum a todos os pacotes, 
>>>>>> sem
>>>>>> ter que inseri-la manualmente em todos eles?
>>>>>>
>>>>>> --
>>>>>> Jefferson Bandeira
>>>>>> Suporte Técnico em informática
>>>>>> (21) 9941 - 4545
>>>>>>
>>>>>> --
>>>>>> You received this message because you are subscribed to the Google
>>>>>> Groups "Comp 2 - Geral" group.
>>>>>> To post to this group, send email to [email protected].
>>>>>> To unsubscribe from this group, send email to
>>>>>> [email protected]<comp2-geral%[email protected]>
>>>>>> .
>>>>>> For more options, visit this group at
>>>>>> http://groups.google.com/group/comp2-geral?hl=en.
>>>>>>
>>>>>
>>>>> --
>>>>> You received this message because you are subscribed to the Google
>>>>> Groups "Comp 2 - Geral" group.
>>>>> To post to this group, send email to [email protected].
>>>>> To unsubscribe from this group, send email to
>>>>> [email protected]<comp2-geral%[email protected]>
>>>>> .
>>>>> For more options, visit this group at
>>>>> http://groups.google.com/group/comp2-geral?hl=en.
>>>>>
>>>>
>>>>
>>>>
>>>> --
>>>> Jefferson Bandeira
>>>> Suporte Técnico em informática
>>>> (21) 9941 - 4545
>>>>
>>>> --
>>>> You received this message because you are subscribed to the Google
>>>> Groups "Comp 2 - Geral" group.
>>>> To post to this group, send email to [email protected].
>>>> To unsubscribe from this group, send email to
>>>> [email protected]<comp2-geral%[email protected]>
>>>> .
>>>> For more options, visit this group at
>>>> http://groups.google.com/group/comp2-geral?hl=en.
>>>>
>>>
>>>  --
>>> You received this message because you are subscribed to the Google Groups
>>> "Comp 2 - Geral" group.
>>> To post to this group, send email to [email protected].
>>> To unsubscribe from this group, send email to
>>> [email protected]<comp2-geral%[email protected]>
>>> .
>>> For more options, visit this group at
>>> http://groups.google.com/group/comp2-geral?hl=en.
>>>
>>
>>
>>
>> --
>> Zaedy Dantas Sayão
>> Graduando em Ciência da Computação DCC/UFRJ
>> http://www.manufato.com.br/
>> MSN: [email protected]
>>
>>  --
>> You received this message because you are subscribed to the Google Groups
>> "Comp 2 - Geral" group.
>> To post to this group, send email to [email protected].
>> To unsubscribe from this group, send email to
>> [email protected]<comp2-geral%[email protected]>
>> .
>> For more options, visit this group at
>> http://groups.google.com/group/comp2-geral?hl=en.
>>
>
>  --
> You received this message because you are subscribed to the Google Groups
> "Comp 2 - Geral" group.
> To post to this group, send email to [email protected].
> To unsubscribe from this group, send email to
> [email protected]<comp2-geral%[email protected]>
> .
> For more options, visit this group at
> http://groups.google.com/group/comp2-geral?hl=en.
>



-- 
Zaedy Dantas Sayão
Graduando em Ciência da Computação DCC/UFRJ
http://www.manufato.com.br/
MSN: [email protected]

--

You received this message because you are subscribed to the Google Groups "Comp 
2 - Geral" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/comp2-geral?hl=en.


Responder a